#include <iostream>
using namespace std;
#pragma warning(disable : 4996)
#include "exercise.h"
#include "AerobicDevice.h"
#include "PowerDevice.h"

Exercise::Exercise(const Device& d) : device(d)
{
}


ostream & operator<<(ostream & os,const Exercise & E) //#WD[2] RonnyR 3.12
{
os << "Exercise:" << endl << "\tDevice: ";
E.getDevice().PrintDevice(os);
return os;	
}

